<?php
    header('Content-type:text/json');
    require "../../connection.php";
    $sql = "select id,user_nick,user_openid,user_session_key,user_sex,user_imgUrl,user_status,addr_dtl from user,address
            where id = addr_user_id";
    $result = $conn->doSql($sql);
    if($result){
        echo json_encode($result);
    }else{
        $error = array("error"=>"没找到数据");
        echo json_encode($error);
    }

